package com.siha_back.common;

public class AnalysisResult {
    private int hesitationCount;  //犹豫次数
    private double engagementScore;  //专注度
    private String engagementLevel;  //态度评价
    private String error;

    public AnalysisResult(int hesitationCount, double engagementScore, String engagementLevel) {
        this.hesitationCount = hesitationCount;
        this.engagementScore = engagementScore;
        this.engagementLevel = engagementLevel;
    }

    public AnalysisResult(String error) {
        this.error = error;
    }

    // Getters and Setters
    public int getHesitationCount() {
        return hesitationCount;
    }

    public double getEngagementScore() {
        return engagementScore;
    }

    public String getEngagementLevel() {
        return engagementLevel;
    }

    public String getError() {
        return error;
    }
}